package tech.aistar.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result implements Serializable {
    private String code;//模拟的是Http状态码

    private String msg;//描述性信息

    private Object data;

    public Result(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
